package com.nbgs.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nbgs.demo.model.Worker;
import org.apache.ibatis.annotations.Param;

public interface WorkerService {

    IPage<Worker> showSumWorker(Page<Worker> page,String workerName,String workerNum,String workerState);
    int totalWorker(String workerName,String workerNum,String workerState);
    void addWorker(Worker worker);
    void updateWorker(Worker worker);
    void addRoleAndRole(int workerId,String roleName);
}
